﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apex.Networking.Common;

namespace Apex.Networking.Server
{
    public interface IServer
    {
        int OnStart();
        int OnAccept();
        int OnReceive();
        int OnDissconnect();

        void StartServer();
        void StartServer(ServerConfiguration configuration);
    }
}
